package com.xiyu.service.convert.health;

import com.xiyu.service.vo.health.medicinePlan.MedicinePlanSingleGetOutput;
import com.xiyu.service.model.medicine.HealthMedicinePlanDetail;
import com.xiyu.service.vo.health.medicinePlan.MedicinePlanUpdateInput;
import com.xiyu.service.vo.health.medicinePlan.MedicinePlanGetOutput;
import com.xiyu.service.vo.health.medicinePlan.MedicinePlanCreateInput;
import com.xiyu.service.model.medicine.HealthMedicinePlan;
import com.xiyu.service.vo.health.medicinePlan.MedicinePlanPageQueryOutput;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.babyfish.jimmer.Page;

/**
 * 用药设置 Convert
 */
@Mapper
public interface MedicinePlanConvert {
    MedicinePlanConvert INSTANCE = Mappers.getMapper(MedicinePlanConvert.class);


    List<MedicinePlanPageQueryOutput> pageQueryOutputConvert(List<HealthMedicinePlan> output);

    MedicinePlanGetOutput getOutputConvert(HealthMedicinePlan output);

    HealthMedicinePlan updateInputConvert(MedicinePlanUpdateInput input);

    HealthMedicinePlanDetail updateInputConvert(MedicinePlanUpdateInput.detail input);

    MedicinePlanSingleGetOutput singleGetOutputConvert(HealthMedicinePlan output);

    HealthMedicinePlan createInputConvert(MedicinePlanCreateInput input);

}
